<template>
    <div class="common-layout">
      <el-container>
        <!-- <el-aside width="200px">Aside</el-aside> -->
        <Aside />
        <el-container>
          <!-- <el-header>Header</el-header> -->
          <el-header>
            <Header />  
          </el-header>
          <el-main>
            <RouterView />
          </el-main>
        </el-container>
      </el-container>
    </div>
  </template>

<script setup >
import Aside from '../components/aside.vue'
import Header from '../components/navHeader.vue'
</script>
<style lang="less" scoped>
    .common-layout {
        height: 100vh; /* 设置高度为视口高度的 100% */
        box-sizing: border-box; /* 包括内边距和边框在内的总高度和宽度 */
            .el-container{
                height: 100%;
            
            }
}
    
</style>
